package com.mrx.commons.config;

/**
 * @author : 肖康宁
 * @since : 2022-12-09 09:28
 **/
public class Constant {

    public static final String ERROR_ATTRIBUTE = "javax.servlet.error.exception";

    public static final String ERROR_REQUEST_URI = "javax.servlet.error.request_uri";

    public static final String ERROR_STATUS_CODE = "javax.servlet.error.status_code";

    public static final String ERROR_ROUTE = "/error";

    public static final String TOKEN_INVALID = "token 已过期";

    public static final String HEADER_TOKEN = "token";

    public static final String WEBSOCKET_HEADER_TOKEN = "sec-websocket-protocol";

    public static final String WEBSOCKET_ATTRIBUTE_USER = "user";

}
